home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / arm / include / asm / mach / keypad.h < prev    next >
Encoding:
C/C++ Source or Header  |  2009-09-09  |  566 b   |  29 lines

  1. /*
  2.  * include/asm-arm/mach/keypad.h
  3.  *
  4.  * Generic Keypad struct
  5.  *
  6.  * Author: Armin Kuster <Akuster@mvista.com>
  7.  *
  8.  * 2005 (c) MontaVista Software, Inc. This file is licensed under
  9.  * the terms of the GNU General Public License version 2. This program
  10.  * is licensed "as is" without any warranty of any kind, whether express
  11.  * or implied.
  12.  */
  13.  
  14. #ifndef __ASM_MACH_KEYPAD_H_
  15. #define __ASM_MACH_KEYPAD_H_
  16.  
  17. #include <linux/input.h>
  18.  
  19. struct keypad_data {
  20.     u16 rowmax;
  21.     u16 colmax;
  22.     u32 irq;
  23.     u16 delay;
  24.     u16 learning;
  25.     u16 *matrix;
  26. };
  27.  
  28. #endif /* __ARM_MACH_KEYPAD_H_ */
  29.